xl: fix strtok() call in vif2 parsing
authorAndre Przywara <andre.przywara@amd.com>
Tue, 24 Aug 2010 17:18:20 +0000 (18:18 +0100)
committerAndre Przywara <andre.przywara@amd.com>
Tue, 24 Aug 2010 17:18:20 +0000 (18:18 +0100)
commit6c5e7d69b6214409104a6612fd0f37345e3461e7
tree6f775c7c65fe8849431d4385454ae43f4ed78db4
parent9810095a10952121a0a10c7502ecaee7b3721f61
xl: fix strtok() call in vif2 parsing

Fix fixes a hang when parsing the vif2 parameter.

According to the manpage subsequent calls to strtok() must use
NULL in the string parameter to keep the iteration going.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c